home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Sample Code / General App Samples / QDGX Scrolling ƒ / QDGX Scrolling Controls.h < prev    next >
Encoding:
Text File  |  1996-03-20  |  1.2 KB  |  41 lines  |  [TEXT/MMCC]

  1.  
  2. /**
  3.  --        File:        GX Scrolling Controls.h
  4.  --
  5.  --        Comments:    This header file contains the prototypes, constants, and type definitions
  6.  --                    used by "GX Scrolling Controls.c" file.
  7.  --
  8.  --        Version:    1.0     1/93      
  9.  --                            => added general GX support & scrolling
  10.  --
  11.  --
  12.  --        Components:    GX Scrolling (main).c
  13.  --                    GX Scrolling (main).h
  14.  --                    GX Scrolling Controls.c
  15.  --                    GX Scrolling Controls.h
  16.  --                    GX Scrolling (main).π.rsrc
  17.  --
  18.  --
  19.  --        Notes:        1) Print this file in landscape for the best results
  20.  --                    2) If you are using THINK C v5.x, I have added markers to navigate the 
  21.  --                       code.
  22.  --                    3) This code was adapted and simplyified from the "DTS AE Skeleton" sample.
  23.  --
  24.  --        Author:        Pete "Luke" Alexander
  25.  --                    Developer Technical Support
  26.  --                    AppleLink: DEVSUPPORT
  27.  --
  28.  --        
  29.  --        ©1992 - 1993  Apple Computer, Inc. 
  30.  --        All rights reserved.
  31.  --
  32.  **/
  33.  
  34. //
  35. //        Function Prototypes
  36. //
  37. extern void ResizeScrollBars(WindowPtr theWindow);
  38. extern void InvalidateScrollBars(WindowPtr theWindow);
  39. extern void DoControl(Point thePoint, ControlHandle theControl, short controlPart);
  40. extern void DoScroll(WindowPtr theWindow, short hScroll, short vScroll);
  41.